package com.example.sb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kedong.lin
 */
@Controller
@RequestMapping("/intercept")
@ResponseBody
public class InterceptorController {
    @RequestMapping("/test")
    public String interceptTest(){
        System.out.println("视图渲染");
        return "test success";
    }
}
